package com.woniuxy.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author: 马宇航
 * @Todo:
 * @DateTime: 22/03/30/0030 下午 4:13
 * @Component: 成都蜗牛学苑
 **/
public class UserManager {
    String username;
    String password;
    int money;
    List hobby;
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'hh:mm",iso = DateTimeFormat.ISO.DATE,fallbackPatterns="yyyy/MM/dd'T'hh:mm")
    Date birthday;
    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "UserManager{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", money=" + money +
                ", hobby=" + hobby +
                ", birthday=" + birthday +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public List getHobby() {
        return hobby;
    }

    public void setHobby(List hobby) {
        this.hobby = hobby;
    }
}
